import request from '@/utils/request'

// 查询燃气监测设备列表
export function listGasClient(query) {
  return request({
    url: '/device/gasClient/list',
    method: 'get',
    params: query
  })
}

// 查询燃气监测设备详细
export function getGasClient(id) {
  return request({
    url: '/device/gasClient/' + id,
    method: 'get'
  })
}

// 新增燃气监测设备
export function addGasClient(data) {
  return request({
    url: '/device/gasClient',
    method: 'post',
    data: data
  })
}

// 修改燃气监测设备
export function updateGasClient(data) {
  return request({
    url: '/device/gasClient',
    method: 'put',
    data: data
  })
}

// 删除燃气监测设备
export function delGasClient(id) {
  return request({
    url: '/device/gasClient/' + id,
    method: 'delete'
  })
}
